package com.twu.biblioteca.session.actions;

import com.twu.biblioteca.session.Session;
import com.twu.biblioteca.session.SessionAction;
import com.twu.biblioteca.session.SessionOption;

public class ListBooksAction extends SessionAction {

    public ListBooksAction(SessionOption option, Session session) {
        super(option, session);
    }

    @Override
    public void performAction(String[] args) {
        this.getSession().getUi().listBooks(this.getSession().getLibrary());
    }
}
